package com.kaili.pojo.entity;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author cgm
 * @since 2018-05-08
 */
@TableName("hs_ewbs_dispatch")
public class HsEwbsDispatch implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 业务流水号
     */
    @TableId("operation_id")
    private String operationId;
    /**
     * 送货单号
     */
    @ApiModelProperty(value = "送货单号", required = true)
    @TableField("dispatch_no")
    private String dispatchNo;
    /**
     * 送货单制作网点id
     */
    @ApiModelProperty(value = "送货单制作网点id", required = true)
    @TableField("site_id")
    private Integer siteId;
    /**
     * 送货时间
     */
    @ApiModelProperty(value = "送货时间", required = true)
    @TableField("dispatch_time")
    private Date dispatchTime;
    /**
     * 车辆ID
     */
    @ApiModelProperty(value = "车辆ID", required = true)
    @TableField("car_id")
    private Integer carId;
    /**
     * 送货员id
     */
    @ApiModelProperty(value = "送货员id", required = true)
    @TableField("dispatcher_id")
    private Integer dispatcherId;
    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号", required = true)
    @TableField("phone")
    private String phone;
    /**
     * 送货票数
     */
    @ApiModelProperty(value = "送货票数", required = true)
    @TableField("ewb_count")
    private Integer ewbCount;
    /**
     * 送货件数
     */
    @ApiModelProperty(value = "送货件数", required = true)
    private Integer piece;
    /**
     * 送货扫描件数
     */
    @ApiModelProperty(value = "送货扫描件数", required = true)
    @TableField("scan_piece")
    private Integer scanPiece;
    /**
     * 送货重量
     */
    @ApiModelProperty(value = "送货重量", required = true)
    @TableField("weight")
    private BigDecimal weight;
    /**
     * 送货体积
     */
    @ApiModelProperty(value = "送货体积", required = true)
    @TableField("vol")
    private BigDecimal vol;
    /**
     * 备注
     */
    private String remark;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人", required = true)
    @TableField("created_by")
    private Integer createdBy;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", required = true)
    @TableField("created_time")
    private Date createdTime;
    /**
     * 第一次打印时间
     */
    @TableField("first_print_time")
    private Date firstPrintTime;
    /**
     * 最后一次打印时间
     */
    @TableField("last_print_time")
    private Date lastPrintTime;
    /**
     * 打印次数
     */
    @TableField("print_count")
    private Integer printCount;
    /**
     * 设备编号
     */
    @TableField("device_code")
    private String deviceCode;
    /**
     * 数据来源
     */
    @TableField("scan_source_id")
    private Integer scanSourceId;
    /**
     * 是否删除标识  1未删除  0 已删除
     */
    @TableField("rd_status")
    private Integer rdStatus;
    /**
     * 修改时间
     */
    @TableField("modified_time")
    private Date modifiedTime;
    /**
     * 修改人
     */
    @TableField("modified_by")
    private Integer modifiedBy;

    /**
     * 送货单费
     */
    @ApiModelProperty(value = "送货单费", required = true)
    @TableField("send_charge")
    private Double sendCharge;


    public String getOperationId() {
        return operationId;
    }

    public void setOperationId(String operationId) {
        this.operationId = operationId;
    }

    public String getDispatchNo() {
        return dispatchNo;
    }

    public void setDispatchNo(String dispatchNo) {
        this.dispatchNo = dispatchNo;
    }

    public Integer getSiteId() {
        return siteId;
    }

    public void setSiteId(Integer siteId) {
        this.siteId = siteId;
    }

    public Date getDispatchTime() {
        return dispatchTime;
    }

    public void setDispatchTime(Date dispatchTime) {
        this.dispatchTime = dispatchTime;
    }

    public Integer getCarId() {
        return carId;
    }

    public void setCarId(Integer carId) {
        this.carId = carId;
    }

    public Integer getDispatcherId() {
        return dispatcherId;
    }

    public void setDispatcherId(Integer dispatcherId) {
        this.dispatcherId = dispatcherId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getEwbCount() {
        return ewbCount;
    }

    public void setEwbCount(Integer ewbCount) {
        this.ewbCount = ewbCount;
    }

    public Integer getPiece() {
        return piece;
    }

    public void setPiece(Integer piece) {
        this.piece = piece;
    }

    public Integer getScanPiece() {
        return scanPiece;
    }

    public void setScanPiece(Integer scanPiece) {
        this.scanPiece = scanPiece;
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    public BigDecimal getVol() {
        return vol;
    }

    public void setVol(BigDecimal vol) {
        this.vol = vol;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Integer createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getFirstPrintTime() {
        return firstPrintTime;
    }

    public void setFirstPrintTime(Date firstPrintTime) {
        this.firstPrintTime = firstPrintTime;
    }

    public Date getLastPrintTime() {
        return lastPrintTime;
    }

    public void setLastPrintTime(Date lastPrintTime) {
        this.lastPrintTime = lastPrintTime;
    }

    public Integer getPrintCount() {
        return printCount;
    }

    public void setPrintCount(Integer printCount) {
        this.printCount = printCount;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public Integer getScanSourceId() {
        return scanSourceId;
    }

    public void setScanSourceId(Integer scanSourceId) {
        this.scanSourceId = scanSourceId;
    }

    public Integer getRdStatus() {
        return rdStatus;
    }

    public void setRdStatus(Integer rdStatus) {
        this.rdStatus = rdStatus;
    }

    public Date getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }

    public Integer getModifiedBy() {
        return modifiedBy;
    }

    public void setModifiedBy(Integer modifiedBy) {
        this.modifiedBy = modifiedBy;
    }

    public Double getSendCharge() {
        return sendCharge;
    }

    public void setSendCharge(Double sendCharge) {
        this.sendCharge = sendCharge;
    }

    @Override
    public String toString() {
        return "HsEwbsDispatch{" +
                "operationId=" + operationId +
                ", dispatchNo='" + dispatchNo + '\'' +
                ", siteId=" + siteId +
                ", dispatchTime=" + dispatchTime +
                ", carId=" + carId +
                ", dispatcherId=" + dispatcherId +
                ", phone='" + phone + '\'' +
                ", ewbCount=" + ewbCount +
                ", piece=" + piece +
                ", scanPiece=" + scanPiece +
                ", weight=" + weight +
                ", vol=" + vol +
                ", remark='" + remark + '\'' +
                ", createdBy=" + createdBy +
                ", createdTime=" + createdTime +
                ", firstPrintTime=" + firstPrintTime +
                ", lastPrintTime=" + lastPrintTime +
                ", printCount=" + printCount +
                ", deviceCode='" + deviceCode + '\'' +
                ", scanSourceId=" + scanSourceId +
                ", rdStatus=" + rdStatus +
                ", modifiedTime=" + modifiedTime +
                ", modifiedBy=" + modifiedBy +
                ", sendCharge=" + sendCharge +
                '}';
    }
}
